# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-regex
pkgver=2020.7.14
pkgrel=0
pkgdesc="More featureful implementation of the 're' module"
url="https://bitbucket.org/mrabarnett/mrab-regex"
arch="all"
license="CNRI-Python"
depends="python3"
makedepends="python3-dev py3-setuptools"
options="!check" # no tests
source="https://files.pythonhosted.org/packages/source/r/regex/regex-$pkgver.tar.gz"
builddir="$srcdir/regex-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7c782259686cd94c54ce688104cc1b7cada5bf5d09cd74daf01672f8ef01747b11ad9189279e5f9f1dee7cbb7ad827641a359326078e5587153bc0cffcb01267  regex-2020.7.14.tar.gz"
